import request from '@/utils/request.js'

export default{
    identity(base64Data, len){
        return request({
            url: `http://127.0.0.1:8082/recorder/api/recorderIdentity`,
            method: 'POST',
            data: {
                base64Data,
                len
            }
        })
    },
    getIdentityRes(taskId){
        return request({
            url: `http://127.0.0.1:8082/recorder/api/getRecorderIdentity/${taskId}`,
            method: 'GET'
        })
    },
}